package com.dongdongshop.mapper;

import com.dongdongshop.pojo.salePoints.SalePoints;
import com.dongdongshop.pojo.salePoints.SalePointsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SalePointsMapper {
    int countByExample(SalePointsExample example);

    int deleteByExample(SalePointsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SalePoints record);

    int insertSelective(SalePoints record);

    List<SalePoints> selectByExample(SalePointsExample example);

    SalePoints selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SalePoints record, @Param("example") SalePointsExample example);

    int updateByExample(@Param("record") SalePoints record, @Param("example") SalePointsExample example);

    int updateByPrimaryKeySelective(SalePoints record);

    int updateByPrimaryKey(SalePoints record);

    SalePoints selectByUserId(@Param("userId") String userId);
}